package my.edu.model.bills.purchase.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.yulichang.base.MPJBaseMapper;
import my.edu.model.bills.purchase.entity.PurchaseOrder;
import my.edu.model.bills.purchase.entity.vo.PurchaseOrderVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface PurchaseOrderMapper extends MPJBaseMapper<PurchaseOrder> {

    List<PurchaseOrderVO> selectWithPage(Map<String, Object> page, @Param(Constants.WRAPPER) Wrapper<PurchaseOrder> wrapper);

}
